﻿using NUnit.Framework;

namespace Wolfpack.Contrib.Checks.MongoDb.Tests
{
  [TestFixture]
  public class MongoDbHealthCheckTests
  {
    [Test]
    public void MongoDb_should_not_throw_exception()
    {
      MongoLogsCheckConfig config = new MongoLogsCheckConfig()
      {
        Environment = "UnitTest",
        NumberOfMinutesPreviousToCheck = 25,
        MongoLogDatabase = "logs",
        MongoLogServerName = "valwgpdxb102vm:27017",
      };
      MongoLogsCheck check = new MongoLogsCheck(config);
      check.Execute();
    }
  }
}
